package com.yc.yjh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 廖老师
 * @since 2023-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Statistics implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 比赛ID
     */
    @TableId(value = "statistics_id", type = IdType.AUTO)
    private Long statisticsId;

    private Integer resultsId;

    /**
     * 赛事ID
     */
    private Long tournamentId;

    /**
     * 队伍ID
     */
    private Long teamId;

    /**
     * 选手ID
     */
    private Long playerId;

    /**
     * 比赛编号
     */
    private Integer matchId;

    /**
     * 游戏角色
     */
    private Long heroId;

    /**
     * 禁用角色
     */
    private Long banHeroId;

    /**
     * 经济
     */
    private Integer money;

    /**
     * 击杀数
     */
    private Integer kills;

    /**
     * 死亡数
     */
    private Integer deaths;

    /**
     * 助攻数
     */
    private Integer assists;

    /**
     * 小兵击杀数
     */
    private Integer minionsKilled;

    @TableField(exist = false)
    private Players players;
    @TableField(exist = false)
    private Teams teams;
    @TableField(exist = false)
    private Heroes phero;
    @TableField(exist = false)
    private Heroes bhero;
    @TableField(exist = false)
    private Heroes heroes;
    @TableField(exist = false)
    private Matches matches;
    @TableField(exist = false)
    private Results results;

    public Long getStatisticsId() {
        return statisticsId;
    }

    public void setStatisticsId(Long statisticsId) {
        this.statisticsId = statisticsId;
    }

    public Integer getResultsId() {
        return resultsId;
    }

    public void setResultsId(Integer resultsId) {
        this.resultsId = resultsId;
    }

    public Long getTournamentId() {
        return tournamentId;
    }

    public void setTournamentId(Long tournamentId) {
        this.tournamentId = tournamentId;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(Long playerId) {
        this.playerId = playerId;
    }

    public Integer getMatchId() {
        return matchId;
    }

    public void setMatchId(Integer matchId) {
        this.matchId = matchId;
    }

    public Long getHeroId() {
        return heroId;
    }

    public void setHeroId(Long heroId) {
        this.heroId = heroId;
    }

    public Long getBanHeroId() {
        return banHeroId;
    }

    public void setBanHeroId(Long banHeroId) {
        this.banHeroId = banHeroId;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getKills() {
        return kills;
    }

    public void setKills(Integer kills) {
        this.kills = kills;
    }

    public Integer getDeaths() {
        return deaths;
    }

    public void setDeaths(Integer deaths) {
        this.deaths = deaths;
    }

    public Integer getAssists() {
        return assists;
    }

    public void setAssists(Integer assists) {
        this.assists = assists;
    }

    public Integer getMinionsKilled() {
        return minionsKilled;
    }

    public void setMinionsKilled(Integer minionsKilled) {
        this.minionsKilled = minionsKilled;
    }

    @Override
    public String toString() {
        return "Statistics{" +
        "statisticsId=" + statisticsId +
        ", resultsId=" + resultsId +
        ", tournamentId=" + tournamentId +
        ", teamId=" + teamId +
        ", playerId=" + playerId +
        ", matchId=" + matchId +
        ", heroId=" + heroId +
        ", banHeroId=" + banHeroId +
        ", money=" + money +
        ", kills=" + kills +
        ", deaths=" + deaths +
        ", assists=" + assists +
        ", minionsKilled=" + minionsKilled +
        "}";
    }
}
